import {
	post,
	get
} from "../request.js"

const getCode = (data = {}) => {

	return post("/api/user/member/checkCode", data)

}
const sendcode = (data = {}) => {
	return post('/api/member/sendcode', data)
}
const changeMobileByCode = (data = {}) => {
	return post('/api/user/member/changeMobileByCode', data)
}
const update = (data = {}) => {
	return post('/api/user/member/update', data)
}
const updateFile = (data = {}) => {
	return post('/api/upload/add', data)
}
export {
	getCode,
	sendcode,
	changeMobileByCode,
	update,
	updateFile
}
